package com.blog.boot.api.system;

import com.blog.boot.api.annotation.AutoIncKey;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author : cailong
 * @since : Created in 下午 2:07 2018/12/17 0017
 * 用户权限
 */
@Data
@Document(collection = "b_permission")
public class Permission {
    @AutoIncKey
    @Id
    private Long id = 0L;
    @Field
    private String permissionName;
    @Field
    private String permissionValue;
}
